

import 'package:flutter_enjoy_plus/constants/index.dart';
import 'package:flutter_enjoy_plus/utils/RequestDio.dart';

//社区公告列表
Future getAnnounceListAPI() {
  return requestDio.get(HTTP_PATH.ANNOUNCE_LIST);
}

// 社区公告详情 ${HTTP_PATH.ANNOUNCE_LIST}/id
Future getAnnounceDetailAPI(String id) {
  return requestDio.get('${HTTP_PATH.ANNOUNCE_LIST}/$id');
}

